<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>第三方公司列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma" content="no-cache"/>
     
    <meta http-equiv="Cache-Control" content="no-cache"/>
     
    <meta http-equiv="Expires" content="0"/>

    <link rel="stylesheet" href="/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/layui/style/admin.css" media="all"/>
</head>
<body class="childrenBody">
<blockquote class="layui-elem-quote news_search">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input id="company_name" type="text" value="" placeholder="请输入公司名称" autocomplete="off"
                   class="layui-input search_input">
        </div>
        <a class="layui-btn search_btn " id="company_search_btn">查询</a>
    </div>
    <div class="layui-inline">
        <a class="layui-btn add_btn" style="background-color:#5FB878">添加公司</a>
    </div>

</blockquote>
<table class="layui-hide" id="company_table" lay-filter="company_table"></table>

<div id="add_company_win" style="display: none;">
    <form id="add_company_form" class="layui-form" action="" lay-filter="add_company_form">
        <input type="hidden" name="id"/>
        <input type="hidden" name="userId"/>

        <div class="layui-form-item">
            <label class="layui-form-label">公司名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" required lay-verify="required" placeholder="请输入公司名称" autocomplete="off"
                       class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">公司地址</label>
            <div class="layui-input-block">
                <input type="text" name="address" required lay-verify="required" value="" placeholder="请输入地址"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">手机号码</label>
            <div class="layui-input-block">
                <input type="text" name="mobile" required lay-verify="required|phone" value="" placeholder="请输入手机号码"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">登录名称</label>
            <div class="layui-input-block">
                <input type="text" name="userName" required lay-verify="required" placeholder="请输入登录名称"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="addOk">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>


<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/company/companyList.js"></script>


</body>
</html>